home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 3.1"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="System\File System\Options"
- "NAME"="Windows 9x Options"
- "VERSION"="1.003"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Use enhanced file allocation cache"
- "DESCRIPTION 1"="Activating this option will boost your performance."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
- "COMMENT 2"="Thanks to CptSiskoX for his help and AXCEL216 for the setting!"
-
-
- sP="HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\FileSystem\ContigFileAllocSize" 'DW:512
- Sub Plugin_Initialize
- if GetWinVer=1 or GetWinVer=3 then
- i=RegReadValue(sP)
- if i=512 then
- SetUIElement 1,true
- end if
- else
- Disable
- end if
-
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sp,512,2)
- else
- s=RegReadValue(sP)
- if IsEmpty(s)=false then
- Call RegDeleteValue(sP)
- end if
- end if
-
-
- Call Restart()
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-